import random

num = 0
for num in range(0, 10):
    print(num)
    i = random.randint(0, 10)  # 范围是 0 <= i <= 10
    print(i)
    num += 1
